package com.yloveg.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.yloveg.entity.SRole;

public interface SRoleService {
 
/**
 * 登录/查询
 * @param username
 * @param password
 * @return
 */
	public PageInfo<SRole> queryUserMsgPage(int page, int limit, SRole sRole);
    
    public int insertSRole(SRole sRole);
    
    public int updateByPrimaryKeySelective(SRole sRole);
    
    public SRole selectByPrimaryKey(Long id);
    
    public List<Map<String,Object>> queryUserMsgMap(SRole sRole);
    
}